WebDevStudios\CCForWoo\View\Admin\WooTab B

Total Complexity 87
Dependencies 5
Dependents 3
Total lines 1,026
Lines of code 526
Logical lines of code 164
Comment lines 371
Methods 37
Properties 6

Methods 37

Method Rating Maintainability Complexity Lines of code
get_store_information_settings()
A
30 4 167
override_save_button()
S
52 6 23
process_errors()
S
58 6 15
get_welcome_screen()
S
54 5 23
get_settings()
S
57 5 20
validate_value()
S
60 5 12
save()
S
62 4 12
adjust_styles()
S
62 4 11
add_go_back_button()
S
65 4 7
add_rest_fields()
S
61 3 12
hide_default_save_button()
S
65 3 11
maybe_add_connection_button()
S
70 3 6
validate_option_values()
S
66 3 9
maybe_update_connection_status()
S
66 3 8
requested_connect_to_cc()
S
65 3 9
connect_title()
S
53 1 27
get_default_settings_options()
S
62 2 12
register_hooks()
S
54 1 19
get_connection_established_options()
S
60 1 16
__construct()
S
67 2 7
sanitize_phone_number()
S
70 2 6
maybe_redirect_to_cc()
S
66 2 8
meets_connect_requirements()
S
60 1 14
render_cta_button()
S
64 1 12
allow_redirect_to_cc()
S
77 1 4
get_connection_attempted_options()
S
64 1 10
add_rest_group()
S
67 1 8
update_setup_option()
S
80 1 3
get_filtered_settings()
S
77 1 3
get_woo_country()
S
79 1 3
add_optional_fields_wrapper_end()
S
82 1 3
add_optional_fields_wrapper()
S
82 1 3
get_rest_settings_options()
S
81 1 3
get_connection_button()
S
74 1 5
has_active_settings_section()
S
78 1 3
get_sections()
S
70 1 6
output()
S
72 1 6